<?php
namespace Badmins\Model;
use Think\Model;
class RoleModel extends Model{
	protected $_validate = array(
			array('name','require','角色名称必须'),
			array('name','','角色名称已存在',0,'unique',1),
	);
}